package com.cnap.multiclouldmgmt.model.scale;

import com.cnap.multiclouldmgmt.model.scale.db.ScalingPolicyPO;
import com.fasterxml.jackson.annotation.JsonProperty;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * <类文件描述>
 *
 * @author xc
 **/
public class UpdateScalingParam {
    // 云商
    @NotNull
    private String provider;
    // 集群名称
    @NotNull
    private String clusterName;
    // 策略信息 传null,则表示不配置
    @JsonProperty(value = "policys")
    private List<ScalingPolicyPO> scalingPolicyPOS;

    // 类型，BIGDATA  AI
    private String category;

    /**
     * get
     *
     * @return Category
     */
    public String getCategory() {
        return category;
    }

    /**
     * set
     *
     * @param category category
     */
    public void setCategory(String category) {
        this.category = category;
    }

    /**
     * get
     *
     * @return ScalingPolicyPOS
     */
    public List<ScalingPolicyPO> getScalingPolicyPOS() {
        return scalingPolicyPOS;
    }

    /**
     * set
     *
     * @param scalingPolicyPOS scalingPolicyPOS
     */
    public void setScalingPolicyPOS(List<ScalingPolicyPO> scalingPolicyPOS) {
        this.scalingPolicyPOS = scalingPolicyPOS;
    }

    /**
     * get
     *
     * @return Provider
     */
    public String getProvider() {
        return provider;
    }

    /**
     * set
     *
     * @param provider provider
     */
    public void setProvider(String provider) {
        this.provider = provider;
    }

    /**
     * get
     *
     * @return ClusterName
     */
    public String getClusterName() {
        return clusterName;
    }

    /**
     * set
     *
     * @param clusterName clusterName
     */
    public void setClusterName(String clusterName) {
        this.clusterName = clusterName;
    }
}
